package cn.edu.sctu.sctu_lysd.biz;

import cn.edu.sctu.sctu_lysd.base.BasePresenter;
import cn.edu.sctu.sctu_lysd.base.BaseView;

/**
 * Created by wangfuxin on 2017-04-19.
 */

public interface DepositBiz {

    interface Presenter extends BasePresenter {

        void getDepositOrder();

        void intentPay(long orderID);

        void getDeposit();


    }



    interface View extends BaseView<Presenter> {


        void getDepositOrderSuccess(long orderID);

        void getDepositOrderFailed();

        /**
         * 该用户已缴纳定金
         */
        void userAlreadyDeposit();

        void getDepositSuccess(float amount);
        void getDepositFailed();
    }

}
